gdk: Lookup both device and global cursor when checking up the hierarchy
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 14 May 2014 10:53:54 +0000 (12:53 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:31 +0000 (19:54 +0200)
commita6526eb82081811316d73597dda740930b18fc9e
treead8f65ea4af34bcdf47fdbd6f51fa38df7e00aa6
parentced7e7c08dce8eeb06c3aa9d59ebe6846d852afc
gdk: Lookup both device and global cursor when checking up the hierarchy

When the pointer cursor is updated on CSW, lookup for either a device
cursor, or a global one. It would previously lookup for windows with
a global cursor, and then check if it had a device cursor, which would
skip windows with only device cursors set, and unexpectedly set the
global cursor.
gdk/gdkwindow.c